import request from "@/utils/request";

export default class {
  static getCommentList(params) {
    return request({
      url: "/comment",
      method: "GET",
      params
    });
  };

  static publishComment(data) {
    return request({
      url: "/comment",
      method: "POST",
      data
    });
  }

  static publishLikes(data) {
    return request({
      url: "/comment/like",
      method: "POST",
      data
    });
  }

}
